<?php
defined('BME_INSERTION') or die('Error code: '.BME_INVALID_INSERT_ERROR);


// General
define('BME_ROOT',"/var/www/abord/");  # %%BME_CONFIG%% BME_ROOT
define('BME_SITE',"/abord/gui/");  # %%BME_CONFIG%% BME_SITE
define('BME_NAME',"ABORD");  # %%BME_CONFIG%% BME_NAME
define('BME_3L_NAME',"bme");  # %%BME_CONFIG%% BME_3L_NAME
define('BME_SITEMASTER_MAIL',"me@miguel.weapps.com");  # %%BME_CONFIG%% BME_SITEMASTER_MAIL
define('BME_DESC',"AJAX + BioME = Open and Remarkable biological Databases");  # %%BME_CONFIG%% BME_DESC
define('BME_TMP_PATH',"/wwwtmp/BME/");  # %%BME_CONFIG%% BME_TMP_PATH
define('BME_DB_NAME',"abord");  # %%BME_CONFIG%% BME_DB_NAME

// System vars
define('BME_SYSTEM',"ABORD");
define('BME_VERSION',"1.0.3");

// Errors
define('BME_INVALID_INSERT_ERROR',1);


// Assertions
function BME_assert_handler($file, $line, $code) {
	echo "
	<hr/>
	".BME_NAME." failed on <b>$file</b>, line <b>$line</b>:<br/>
	<em>$code</em><br/>
	Please contact <a href='mailto:".BME_SITEMASTER_MAIL."'>site master</a>.
	<hr/>\n";
	exit;
}
assert_options(ASSERT_ACTIVE, 1);
assert_options(ASSERT_WARNING, 0);
assert_options(ASSERT_QUIET_EVAL, 0);
assert_options(ASSERT_CALLBACK, 'BME_assert_handler');


?>
